package com.asset.dispoal.department.domain.db.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import tech.mhuang.pacebox.springboot.core.entity.BaseEntity;

import java.io.Serializable;

/**
 * 部门表实体类
 *
 * @author: mhuang
 * @date: 2022-01-26 09:59:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysDepartmentDo extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    private String id;
    /**
     * 部门名称
     */
    private String depName;
    /**
     * 部门编码
     */
    private String depCode;
    /**
     * 上级部门
     */
    private String parentId;
    /**
     * 公司id
     */
    private String companyId;
    /**
     * 排序
     */
    private Integer store;
    /**
     * 0正常  1停用
     */
    private String state;
    /**
     * 0删除 1正常
     */
    private String delFlag;

    private String permission;
}